<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>首页</title>
  <base href="<%=basePath%>">
  <link rel="icon" href="<%=basePath%>plug_in/images/icon/top.ico" type="image/x-icon"/>
  <script src="<%=basePath%>plug_in/js/jquery-1.11.1.min.js"></script>


  <style type="text/css">
    #maindiv{
      margin: 0 auto;
      width: 300px;
      text-align:center;
      border:2px solid #a1a1a1;
      padding:10px 40px;
      background:#dddddd;
      border-radius:25px;
      -moz-border-radius:25px; /* 老的 Firefox */
    }

  </style>

</head>
<body>


<center><h1>皿鎏OA考勤系统</h1></center>



<div id="maindiv" >
  <img src="<%=basePath%>plug_in/images/bg.png"/>
  <form action="api/login" method="post">
    用户名：
    <input style="width: 200px;margin-top: 20px;"  autocomplete="off" name="user"  type="text"  />
    <br/>
    <span id="msg" style="color: red;"></span><br/>
    密&nbsp;&nbsp;&nbsp;码：
    <input style="width: 200px;margin-top: 10px;" name="psd" type="password"  autocomplete="off"  />
    <br/>
    <input  type="submit" value="登陆" style="margin-top: 10px;margin-left: 40px;width: 100px;"  />
  </form>
  <span style="font-size: 12px;">@2003-2019 By Mine Loader Java Team.</span>
</div>





</body>
<script>


    $(function () {
        var msg = "${msg}";
        if (msg) {
            $("#msg").text(msg);
        }
    })



</script>
</html>
